//--------------------------------------------------------------------------------
// This file is a portion of the D2D1Renderer.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Mirco Timmermann
//
//--------------------------------------------------------------------------------
#pragma once

class Color {
public:
	Color();
	Color(float r, float g, float b, float a = 1.0f);
	~Color(void);

public:
	float r;
	float g;
	float b;
	float a;

	Color operator + (const Color& c) const;
	Color operator - (const Color& c) const;
	Color operator * (const Color& c) const;
	Color operator / (const Color& c) const;

	Color operator * (const float& v) const;
	Color operator / (const float& v) const;
	
public:
	static const Color RED;
	static const Color GREEN;
	static const Color BLUE;
	static const Color WHITE;
	static const Color BLACK;
	static const Color GRAY;

};